Create debian package from ROS package
Table of Content
Prerequisites#
- Set
package.xmlwith all dependencies - Init rosdep and install all package dependencies
rosdep
rosdep is a command-line tool for installing system dependencies.
install#
sudo apt install \
python3-bloom \
python3-rosdep \
fakeroot \
debhelper \
dh-python
init rosdep#
sudo rosdep init
resdep update
usage#
cd <package root folder>
# run
bloom-generate rosdebian
# run
fakeroot debian/rules binary
Assuming that all required dependencies are available and that compilation succeeds, the new package will be available in the parent directory of this directory.